const zh_cn = {
  name: 'zh-cn',
  blocklyMessage: {
    MICROBIT_LOOP:'micro:bit 无限循环',
    MICROBIT_MICROBITEVENTS:'事件',
    DISPLAYSHOW:'显示屏显示字符串',
    DISPLAYCLEARE: '清空显示屏',
    DISPLAYNUMBER:'显示数字',
    DISPLAYPICTURE:"显示图像",
    SUSPEND:'暂停',
    MILLISECOND:'毫秒(ms)',
    SHOWARROW:'显示箭头',
    NORTH:'北',
    NORTHEAST:'东北',
    EAST:'东',
    SOUTHEAST:'东南',
    SOUTH:'南',
    SOUTHWEST:'西南',
    WEST:'西',
    NORTHWEST:"西南",
    LOOP:'无限循环',
    CLEAR:'点阵屏清屏',
    KEY:'当按键',
    CURRENTMOTHERBOARD:'当主板姿态',
    SHOCK:'摇一摇',
    LOGOUP:'徽标朝上',
    LOGODOWN:'徽标朝下',
    SCREENUP:'屏幕朝上',
    SCREENDOWN:'屏幕朝下',
    RIGHTTILT:'向右倾斜',
    LEFTTILT:'向左倾斜',
    FREEFALL:'自由落体',
    ISPRESSED:'被接通',
    WHENPIN:'当引脚',
    ACCELERATEDSPEED:'获取加速度(mg)',
    BRIGHTNESSLEVEL:'亮度级别',
    TEMPERATURE:'获取温度(℃)',
    POINTERFACING:'读取指针朝向(°)',
    ROTATE:'旋转(°)',
    ROTATE1:'旋转',
    ROLL:'横滚',
    MAGNETICFORCE:'获取磁力（μT）',
    STRENGTH:'强度',
    CALIBRATECOMPASS:'校准指南针',
    ISRELEASED:'被释放时',
    PLAYTONE:'播放音调',
    LOWC:'低C',   
    LOWD:'低D',   
    LOWE:'低E',   
    LOWF:'低F',   
    LOWG:'低G',   
    LOWA:'低A',   
    LOWB:'低B',   
    MIDDLEC:'中C',
    MIDDLED:'中D',
    MIDDLEE:'中E',
    MIDDLEF:'中F',
    MIDDLEG:'中G',
    MIDDLEA:'中A',
    MIDDLEB:'中B',
    HIGHC:'高C',  
    HIGHD:'高D',  
    HIGHE:'高E',  
    HIGHF:'高F',  
    HIGHG:'高G',  
    HIGHA:'高A',  
    HIGHB:'高B',  
    CONTINUED:'持续',
    RHYTHM:'节拍',
    PLAYRINGTONE:"播放铃声（Hz）",
    PAUSEPLAYBACK:"暂停播放（ms）",
    PLAYMELODY:"播放旋律",
    REPEAT:"重复",
    PLAYONCE:'播放一次',
    INFINITECYCLE:'无限循环',
    STOPMELODY:'停止接口',
    CHANGERHYTHM:"将节奏更改为（bpm）",
    SETRHYTHM:"将节奏设定为（bpm）",
    RUNTIME:'运行时间',
    DRAW:"绘图",
    XAXIS:"X轴",
    YAXIS:"Y轴",
    CANCELDRAW:"取消绘图",
    SWITCH:'闪烁',
    POINT:'点',
    DRAWBARCHART:'绘制条形图',
    MAX:'最高',
    DRAW:'绘图',
    ISLIGHT:'是否被点亮?',
    BRIGHTNESS:'亮度(0~100)',
    SETBRIGHTNESS:'设置亮度',
    STOPANIMATION:'停止动画',
    WIRELESSSETTINGSGROUP:'无线设置组',
    WIRELESSDIGITAL:'无线发送数字',
    WIRELESSTRANSMISSIONVALUE:'无线发送值',
    WIRELESSSENDSTRING:'无线发送字符串',
    DATARECEIVEDWIRELESSLY:'无线接收到的数据',
    RECEIVEDWIRELESSLY:'在无线接收到数据时运行',
    RECEIVEDSTRINGWIRELESSLY:'在无线接收到字符串数据时运行',
    RECEIVEDKEYVALUEWIRELESSLY:'在无线接收到key-value数据时运行',
    PACKETSRECEIVED:'接收到的数据包',
    TIME:'时间',
    WIRELESSSETTRANSMITPOWER:'无线设置发射功率',
    AND:'与',
    REMAINDER:'的余数',
    IN:'中的',
    MIN:'最小',
    MAX1:'最大',
    ABS:'绝对值',
    RANDOM:'选取随机数',
    RANGE:'范围',
    RANDOMBOOLEAN:'随机选取布尔值',
    ARRAY:'数组',
    LENGTH:'长度',
    STRLENGTH:'长度为',
    GETINDEX:'获取索引',
    VALUE:'值',
    ENTERVALUE:'您想输入的文本值',
    INDEX:'索引',
    VALUESET:'的值设置为',
    ADDTOEND:'添加到结尾',
    LASTVALUE:'中的最后一个值',
    GETANDREMOVE:'获取并移除',
    FIND:'查找',
    STARTVALUE:'中的第一个值',
    INSERTATBEGIN:'在开头插入',
    STAY:'在',
    INSERTVALUE:'插入值',
    REMOVE:'移除',
    COMPARE:'比较两个字符串是否相等(相等返回值为0)',
    GET:'获取',
    STRING:'的子字符串',
    STARTPOSITION:'起始位置',
    ISEMPTY:'字符串为空',
    JUDGE:'判断',
    FROM:'从',
    EXTRACTCHARACTERPOSITON:'中提取字符 位置',
    EXTRACTCHARACTERCODE:'提取字符代码',
    TEXT:'中的文本',
    CREATEIMAGE:'创建图像',
    UP:'向上',
    DOWN:'向下',
    LEFT:'向左',
    RIGHT:'向右',
    DEVIATION:'偏移',
    SCROLLIMAGE:'滚动图像',
    OFFSETTO:'偏移为',
    INTERVAL:'间隔为（ms）',
    ARROWIMAGE:'箭头图像',
    DIGITALREADPIN:'数字读取引脚',
    DIRECTIONPIN:'向 引脚',
    DIGITALWRITEPIN:'数字写入值',
    ANALOGWRITEPIN:'模拟写入',
    ANALOGREADPIN:'模拟读取 引脚',
    MAPPING:'映射',
    FROMLOW:'从低',
    FROMHIGH:'从高',
    TOLOW:'至低',
    TOHIGH:'至高',
    TOSERVOPIN:'向伺服机构 引脚',
    WRITE:'写入角度',
    PULSESET:'脉冲设置为（ms）',
    PULSE:'脉冲为',
    HIGH:'高',
    LOW:'低',
    PULSEDURATION:'脉冲持续时间（μs）',
    PULSEDURATIONPIN:'脉冲持续时间（μs）引脚',
    SPIWRITE:'spi 写入',
    SETPORT:'设置引脚',
    SPIFREQUENCY:'Spi初始化 频率',
    SETANALOGSCALEPIN:'模拟设置音阶引脚',
    SPIFORMATDIGITS:'spi初始化 格式 位数',
    MODEL:'模式',
    FREQUENCY:'频率',
    DURATION:'持续时间',
    MICROBIT_MUSIC:'音乐',
    SPISETPINMOSI:'spi初始化 设置引脚 MOSI',
    SERIALPRINTINGSTRING:'串口打印字符串',
    WRITELINETOSERIAL:'向串口写入一行',
    WRITENUMBERTOSERIAL:'串口写入数字',
    WRITEVALUETOSERIAL:'串口写入数值',
    WRITESTRINGTOSERIAL:'串口写入字符串',
    SERIALREADLINE:'从串口读取行',
    SERIALREADLINEUNTIL:'从串口读取行，直至遇到',
    READSTRINGTOSERIAL:'串口写入字符串',
    SERIALREDIRECTION:'串行 重定向到',
    TX:'TX',
    RX:'RX',
    BAUDRATE:"波特率",
    SERIALREDIRECTIONUSB:'串行 重定向到USB',
    RESET:'重置',
    WAIT:'等待(us)',
    WHENON:'当开机时',
    MICROBIT_CONTROL:'控制',
    MICROBIT_OPERATORS:'运算',
    MICROBIT_VARIABLES:'变量',
    MICROBIT_TEXT:'文本',
    MICROBIT_SERIAL:'串口',
    MICROBIT_ARRAYLIST:'数组',
    MICROBIT_PIN:'引脚',
    MICROBIT_MAINSTART:'micro:bit当开机时',
    MICROBIT_WHENBUTTON:'当按钮',
    MICROBIT_ISBUTTONEVENT:'被按下时',
    MICROBIT_BASEFUNC:'板载传感器',
    PARSETONUMBER:'字符串转数字',
    NUMBER:'数字',
    TOTEXT:'转字符串',
    MICROBIT_DISPLAY:'点阵屏',
    PLAYMELODYPIN:'接口 ',
    STOPMUSIC:'播放的音乐',
    MICROBIT_WIFI:'无线通信',
    OPEN:'打开',
    CLOSE:'关闭',


  STEPPERMOTOR:'步进电机28BYJ-48',
  ANGLE:'角度',
  NUMBEROFTURNS:'圈数',
  DOUBLESTEPPERMOTOR:'双步进（角度）',
  MOTOR:'电机',
  MOTORSPEED:'速度',
  DELAY:'延时',
  MOTORSTOP:'电机  停止',
  MOTORALLSTOP:'停止所有电机',
  RGBDISTANCE:'读取RGB超声波距离(cm)',
  PIN:'引脚',
  RGBULTRASONIC:'RGB超声波',
  LEFT1:'左边',
  RIGHT1:'右边',
  ALL:'全部',
  DISPLAYCOLOR:'显示颜色',
  SPECIAL:'RGB特效',
  NONE:'无',
  BREATHING:'呼吸灯',
  ROTATE:'旋转流星',
  FLICKER:'闪烁',
  BOARDRGBINIT:'初始化板载RGB',
  BOARDRGB:'板载RGB',
  FIRST:'第一个',
  SECOND:'第二个',
  THIRD:'第三个',
  FOURTH:'第四个',
  R:'R值',
  G:'G值',
  B:'B值',
  MAGICBIT_SERVO:'舵机',
  MAGICBIT_DEGREE:'起始角度',
  MAGICBIT_ENDDEGREE:'结束角度',
  MAGICBIT_SPEED:'速度',

  MICROBIT_RGBULTRASONICCOLOR:'RGB超声波模块设置 ',
      MICROBIT_RGBULTRASONICLeft:'左灯亮',
      MICROBIT_RGBULTRASONICRight:'右灯亮',
      MICROBIT_RGBULTRASONICTwo:'两灯都亮',
      MICROBIT_RGBULTRASONICSPECIAL:'特效',
      MICROBIT_RGBBREATHING:'呼吸',
      MICROBIT_RGBROTATE:'旋转',
      MICROBIT_RGBFLICKER:'闪烁',
      MICROBIT_BRIGHTNESS:'RGB 亮度(0~100)',
      MICROBIT_RGBR:'R值',
    MICROBIT_RGBG:'G值',
    MICROBIT_RGBB:'B值',
    MAGICBIT_IRISVALUE:'接收的数据为Emakefun红外遥控器的',
    MAGICBIT_IRRECEIVEVALUE:'红外接收到的物理值',
    MICROBIT_BOARDCOLOR:'显示颜色',
    TRANSFERINT:'Float型转成整型',
}
}

const en = {
  name: 'en',
  blocklyMessage: {
    OPEN:'Open',
    CLOSE:'Close',
    MICROBIT_WIFI:'WIFI',
    STOPMUSIC:'Music played',
    PLAYMELODYPIN:' Pin ',
    MICROBIT_MUSIC:'Music',
    MICROBIT_PIN:'pin',
    ISLIGHT:'Whether to light up?',
    MICROBIT_DISPLAY:'Dot matrix screen',
    TOTEXT:'to text',
    NUMBER:'Number',
    PARSETONUMBER:'Parse to number',
    GET:'Get',
    JUDGE:'Judge',
    STRLENGTH:'Length',
    ENTERVALUE:'Enter value',
    MICROBIT_BASEFUNC:'Board sensor',
    MICROBIT_LOOP:'Micro:bit Loop',
    MICROBIT_MAINSTART:'Micro:bit main start',
    MICROBIT_WHENBUTTON:'When the button',
    MICROBIT_ISBUTTONEVENT:'Pressed',
    MICROBIT_MICROBITEVENTS:'Events',
    DISPLAYSHOW:'Display show string',
    DISPLAYCLEARE: 'Clear display',
    DISPLAYNUMBER:'Display number',
    DISPLAYPICTURE:"Display images",
    SUSPEND:'suspend',
    MILLISECOND:'millisecond(ms)',
    SHOWARROW:'show arrow',
    NORTH:'North',
    NORTHEAST:'Northeast',
    EAST:'East',
    SOUTHEAST:'Southeast',
    SOUTH:'South',
    SOUTHWEST:'Southwest',
    WEST:'West',
    NORTHWEST:"Northwest",
    LOOP:'Loop',
    CLEAR:'Clear screen',
    KEY:'When key',
    ISPRESSED:'Is touched',
    CURRENTMOTHERBOARD:'Current motherBoard status',
    SHOCK:'Shock',
    LOGOUP:'Logo up',
    LOGODOWN:'Logo down',
    SCREENUP:'Screen up',
    SCREENDOWN:'Screen down',
    RIGHTTILT:'Tilt right',
    LEFTTILT:'Tilt left',
    FREEFALL:'Free fall',
    WHENPIN:'When pin',
    ACCELERATEDSPEED:'Accelerated speed(mg)',
    BRIGHTNESSLEVEL:'Brightness level',
    TEMPERATURE:'Temperature(℃)',
    ROTATE:'Rotate(°)',
    ROTATE1:'Rotate',
    ROLL:'Roll',
    MAGNETICFORCE:'Magnetic force（μT）',
    STRENGTH:'Strength',
    CALIBRATECOMPASS:'Calibrate compass',
    ISRELEASED:'Released',
    PLAYTONE:'Play tone',
    LOWC:'Low C',                
    LOWD:'Low D',                
    LOWE:'Low E',                
    LOWF:'Low F',                
    LOWG:'Low G',                
    LOWA:'Low A',                
    LOWB:'Low B',  
    MIDDLEA:'Middle A',             
    MIDDLEB:'Middle B',                 
    MIDDLEC:'Middle C',             
    MIDDLED:'Middle D',             
    MIDDLEE:'Middle E',             
    MIDDLEF:'Middle F',             
    MIDDLEG:'Middle G',                 
    HIGHC:'High C',               
    HIGHD:'High D',               
    HIGHE:'High E',               
    HIGHF:'High F',               
    HIGHG:'High G',               
    HIGHA:'High A',               
    HIGHB:'High B', 
    CONTINUED:'Continued',
    RHYTHM:'Rhythm',
    PLAYRINGTONE:"Play ringtone（Hz）",
    PAUSEPLAYBACK:"Pause playback(ms)",
    REPEAT:"Repeat",
    PLAYONCE:'Play once',
    INFINITECYCLE:'Infinite cycle',
    STOPMELODY:'Stop melody',
    CHANGERHYTHM:"Change rhythm to（bpm）",
    SETRHYTHM:"Set rhythm to（bpm）",
    POINTERFACING:'Pointer facing',
    RUNTIME:'Running time',
    PLAYMELODY:"Play melody",
    XAXIS:"X-axis",
    YAXIS:"Y-axis",
    DRAW:"Draw",
    CANCELDRAW:"Cancel draw",
    SWITCH:'Switch',
    POINT:'Point',
    DRAWBARCHART:'Draw bar chart',
    MAX:'Max',
    DRAW:'Draw',
    BRIGHTNESS:'Brightness(0~100)',
    SETBRIGHTNESS:'Set brightness',
    STOPANIMATION:'Stop animation',
    WIRELESSSETTINGSGROUP:'Wireless settings group',
    WIRELESSDIGITAL:'Wireless digital',
    WIRELESSTRANSMISSIONVALUE:'Wireless transmission value',
    WIRELESSSENDSTRING:'Wireless send string',
    DATARECEIVEDWIRELESSLY:'Data received wirelessly',
    RECEIVEDWIRELESSLY:'Run when data is received wirelessly',
    RECEIVEDSTRINGWIRELESSLY:'Run when string data is received wirelessly',
    RECEIVEDKEYVALUEWIRELESSLY:'Run when KEY-VALUE data is received wirelessly',
    PACKETSRECEIVED:'Packets received',
    TIME:'time',
    WIRELESSSETTRANSMITPOWER:'Wireless set transmit power',
    AND:'And',
    REMAINDER:'Remainder',
    IN:'In',
    MIN:'Min',
    MAX1:'Max',
    ABS:'Abs',
    RANDOM:'Random',
    RANGE:'Range',
    RANDOMBOOLEAN:'Randomly select Bool',
    ARRAY:'Array',
    LENGTH:'Length',
    GETINDEX:'Get index',
    VALUE:'Value',
    INDEX:'Index',
    VALUESET:'Value set',
    ADDTOEND:'Add to end',
    LASTVALUE:'Last value',
    GETANDREMOVE:'Get and remove',
    FIND:'Find',
    STARTVALUE:'Start value',
    INSERTATBEGIN:'Insert at beginning',
    STAY:'Stay',
    INSERTVALUE:'Insert value',
    REMOVE:'Remove',
    COMPARE:'Compare two string',
    STRING:'String',
    STARTPOSITION:'Starting position',
    ISEMPTY:'Is empty',
    FROM:'From',
    EXTRACTCHARACTERPOSITON:'Extract character position',
    EXTRACTCHARACTERCODE:'Extract character code',
    TEXT:'Text',
    CREATEIMAGE:'Create Image',
    DEVIATION:'Deviation',
    SCROLLIMAGE:'Scroll image',
    OFFSETTO:'Offset to',
    INTERVAL:'Interval(ms)',
    ARROWIMAGE:'Arrow image',
    DIGITALREADPIN:'Digital read pin',
    DIRECTIONPIN:'Direction pin',
    DIGITALWRITEPIN:'Digital write pin',
    ANALOGWRITEPIN:'Analog write pin',
    ANALOGREADPIN:'Analog read pin',
    MAPPING:'Mapping',
    FROMLOW:'From low',
    FROMHIGH:'From high',
    TOLOW:'To low',
    TOHIGH:'To high',
    TOSERVOPIN:'To servo pin',
    WRITE:'Write angle',
    PULSESET:'Pulse set to(ms)',
    PULSE:'Pulse',
    HIGH:'High',
    LOW:'Low',
    PULSEDURATION:'Pulse duration（μs）',
    PULSEDURATIONPIN:'Pulse duration（μs）pin',
    SPIWRITE:'Spi write',
    SETPORT:'Set port',
    SPIFREQUENCY:'Spi frequency',
    SETANALOGSCALEPIN:'Analog set scale pin',
    SPIFORMATDIGITS:'SPI format digits',
    MODEL:'Model',
    SPISETPINMOSI:'SPI set pin MoSi',
    SERIALPRINTINGSTRING:'Serial printing string',
    WRITELINETOSERIAL:'Write Line To Serial',
    WRITENUMBERTOSERIAL:'Write number To Serial',
    WRITEVALUETOSERIAL:'Serial port write value',
    WRITESTRINGTOSERIAL:'Serial port write String',
    SERIALREADLINE:'Serial read line',
    SERIALREADLINEUNTIL:'Read row from serial port until',
    READVALUETOSERIAL:'Serial port read value',
    TX:'TX',
    RX:'RX',
    SERIALREDIRECTION:'Serial redirection',
    BAUDRATE:"Baud rate",
    SERIALREDIRECTIONUSB:'Serial redirection to USB',
    RESET:'reset',
    WAIT:'Waiting(us)',
    WHENON:'When on',
    MICROBIT_CONTROL:'Control',
    MICROBIT_OPERATORS:'Operators',
    MICROBIT_VARIABLES:'Variables',
    MICROBIT_TEXT:'Text',
    MICROBIT_SERIAL:'Serial',
    MAGICBIT_SERVO:'SERVO',
    MAGICBIT_SPEED:'SPEED',
    MAGICBIT_DEGREE:'DEGREE',	
    MAGICBIT_ENDDEGREE:'end degree',
    MICROBIT_ARRAYLIST:'Arrays',
    UP:'Up',
    DOWN:'Down',
    LEFT:'Left',
    RIGHT:'Right',
    
     STEPPERMOTOR:'StepperMotor 28BYJ-48',
  ANGLE:'Angle',
  NUMBEROFTURNS:'Number of turns',
  DOUBLESTEPPERMOTOR:'Double stepper motor（angle）',
  MOTOR:'Motor',
  MOTORSPEED:'Speed',
  DELAY:'Delay',
  MOTORSTOP:'Motor stop',
  MOTORALLSTOP:'Stop all motors',
  RGBDISTANCE:'Read RGB ultrasonic distance(cm)',
  PIN:'PIN',
  RGBULTRASONIC:'RGB ultrasonic',
  LEFT1:'Left',
  RIGHT1:'Right',
  ALL:'All',
  DISPLAYCOLOR:'Display color',
  SPECIAL:'RGB Special effects',
  NONE:'None',
  BREATHING:'Breathing',
  ROTATE:'Rotate',
  FLICKER:'Flicker',
  BOARDRGBINIT:'Board RGB init',
  BOARDRGB:'Board RGB',
  FIRST:'First',
  SECOND:'Second',
  THIRD:'Third',
  FOURTH:'Fourth',
  R:'R',
  G:'G',
  B:'B',
  MICROBIT_RGBULTRASONICCOLOR:'RGB ultrasonic module settings ',
      MICROBIT_RGBULTRASONICLeft:'Left light on',
      MICROBIT_RGBULTRASONICRight:'Right light',
      MICROBIT_RGBULTRASONICTwo:'Both lights are on',
      MICROBIT_RGBULTRASONICSPECIAL:'Special effects',
      MICROBIT_RGBBREATHING:'Breathe',
      MICROBIT_RGBROTATE:'Spin',
      MICROBIT_RGBFLICKER:'flicker',
      MICROBIT_BRIGHTNESS:'RGB brightness(0~100)',
      MICROBIT_RGBR:'R value',
    MICROBIT_RGBG:'G value',
    MICROBIT_RGBB:'B value',
    MAGICBIT_IRISVALUE:'The received data is Emakefun infrared remote control',
    MAGICBIT_IRRECEIVEVALUE:'Physical value received by infrared',
    TRANSFERINT:'float transfer int',
  }
}

const zh_tw = {
  name: 'zh-tw',
  blocklyMessage: {
  DISPLAYSHOW:'顯示屏顯示字符串',
  DISPLAYCLEARE: '清空顯示屏'
  }
}

module.exports = [
  zh_cn,
  zh_tw,
  en
];
